<?php
@session_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<table width="100%" border="0" cellpadding="0" cellspacing="3" >
  <tr>
    <td valign="top" ><table width="100%" border="0" class="box">
      <tr>
        <td background="images/bcopy.gif" class="tieude" align="center">GI&#7886; H&Agrave;NG </td>
      </tr>
      <tr>
        <td align="left" valign="top"><?php include("includes/minicart.php");?><br></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td valign="top" ><table width="100%" border="0" class="box">
      <tr>
        <td background="images/bcopy.gif" class="tieude" align="center">&#272;&#258;NG NH&#7852;P</td>
      </tr>
      <tr>
        <td align="left" valign="top" >
		<?php if(session_is_registered("email")){
		?>Xin chào  <?php 
		$user=$_SESSION["email"];
		echo "<b><font color='#FF6600'>".ucfirst($user)."</font></b>";?><br><br>
          <a href="index.php?page=hoso&&id=<?php echo $user;?>">Hồ sơ cá nhân </a><br><br>
          <a href="index.php?page=dangnhap&amp;&amp;act=logout">Thoát</a>		<?php }else{
		include("templates/login.html");}?></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td valign="top" ><table width="100%" border="0"   class="box">
      <tr>
        <td background="images/bcopy.gif" class="tieude" align="center">SẢN PHẨM BÁN CHẠY </td>
      </tr>
      <tr>
        <td align="left" valign="middle"><?php include("includes/banchay.php");?></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td valign="top" ><table width="100%" border="0"  class="box">
      <tr>
        <td background="images/bcopy.gif" class="tieude" align="center">L&#431;&#7906;NG TRUY C&#7852;P </td>
      </tr>
      <tr>
        <td align="center"><?php include("includes/count.php");?></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td valign="top" ><table width="100%" border="0" class="box">
      <tr>
        <td background="images/bcopy.gif" class="tieude" align="center">QU&#7842;NG C&Aacute;O </td>
      </tr>
      <tr>
        <td align="center" valign="top"><a href="http://quangmobile.com.vn" target="_blank"><img src="images/1187259191.gif" width="150" height="200" border="0"/></a>&nbsp;<br />
          &nbsp;<br />
          <img src="images/phukienmoto.gif" width="140" height="224" />&nbsp;<br />
          &nbsp;<br />
          <img src="images/nokiabluetooth.gif" width="150" height="140" /></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
